@CHARSET "UTF-8";

html,body {
	height: 100%;
}

body {
	overflow-y: scroll;
}

table {
	font-size: 14px;
}

table.faction-image-container-md > tbody > tr {
	line-height: 30px;
}

table.faction-image-container-md > tbody > tr > td {
	vertical-align: middle;
	line-height: inherit;
}

#wrapper {
	min-height: 100%;
	padding-bottom: 7em;
}

#footer {
	position: relative;
	margin-top: -7em;
	height: 7em;
	padding-top: 1em;
	clear: both;
	color: gray;
	background-color: #f5f5f5;
	border-top: 1px solid #ddd;
	font-size: 0.8em;
}

.mg-container .mg {
	margin-bottom: 15px;
}

.mg-container .mg ul {
	list-style: none;
	margin: 5px 0px;
	padding: 0px;	
}

.mg-container .mg .mg-title {
	font-weight: bold;	
}

.mg-control-group, .mg-control-sort {
	margin-bottom: 20px;
}

.actions-container, .members-list-filter-container, .deck-info-container {
	margin-bottom: 15px;
}

.btn-group.btn-group-qty .btn {
	padding: 0px 4px;
}

.btn-group.btn-group-filter.filter-faction > .btn {
	padding: 0px;
}

.btn-group.btn-group-layout > .btn {
	padding: 7px 10px;
}

.icon-faction {
	height: 32px;
	width: 42px;
	background-repeat: no-repeat;
	background-position: center;
}

.icon-astra-militarum { background-image: url('/image/faction/astra-militarum-b-md.png'); }
.icon-space-marines { background-image: url('/image/faction/space-marines-b-md.png'); }
.icon-tau { background-image: url('/image/faction/tau-b-md.png'); }
.icon-eldar { background-image: url('/image/faction/eldar-b-md.png'); }
.icon-dark-eldar { background-image: url('/image/faction/dark-eldar-b-md.png'); }
.icon-chaos { background-image: url('/image/faction/chaos-b-md.png'); }
.icon-ork { background-image: url('/image/faction/ork-b-md.png'); }
.icon-neutral { background-image: url('/image/faction/neutral-b-md.png'); }

.card-md { width: 240px; height: 336px; }
.card-sm { width: 160px; height: 223px; }
.card-xs { width: 100px; height: 138px; }

tr.highlight td {
	background-color: #eee !important;
}

.members-grid {
	width: 100%;
	margin: 0 -5px;
}

.members-grid > tbody > tr > td {
	padding: 5px;
	vertical-align: top;
}

.members-grid-2 > tbody > tr > td {	width: 50%; }
.members-grid-3 > tbody > tr > td {	width: 33%; }
.members-grid-4 > tbody > tr > td {	width: 25%; height: 300px; }
.members-grid-6 > tbody > tr > td {	width: 16%; height: 220px; }

.members-grid-2 .members-grid-item .btn-group-qty { margin-bottom: 10px; }
.members-grid-3 .members-grid-item .btn-group-qty { margin-bottom: 10px; }
.members-grid-4 .members-grid-item .btn-group-qty { margin-bottom: 5px; }
.members-grid-6 .members-grid-item .btn-group-qty { margin-bottom: 5px; }

.members-grid-item {
	width: 100%;
}

.members-grid-item > table > tbody > tr > td {
	vertical-align: top;
}

.members-grid-item > table > tbody > tr > td:nth-child(2) {
	padding-left: 5px;
	width: 100%;
}

label.required:after {
	content: " *";
	color: #D60707;
}

.plain-form .control-label {
	text-align: right;
	padding-top: 5px;
}

.plain-form-wrapper {
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	padding: 30px 0px;
}

.plain-form-wrapper > div {
	padding: 0px 30px;
}

.plain-form-wrapper > div:not(:last-child) {
	border-right: 1px solid #ececec;
}

.message-error {
	color: #D60707;
}

.form-group .message-error {
	color: #D60707;
	display: inline-block;
	margin: 2px 4px;
}

.messages-group {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

.messages-group > li:not(:last-child) {
	margin-bottom: 10px;
}

.no-wrap {
	white-space: nowrap;
}

.radio-group {
	list-style: none;
	padding: 0px;
}

.radio-group input[type="radio"] {
	margin-right: 4px;
	
}

.btn-standard {
	padding: 7px 10px !important;
}

.tree-node {
	list-style: none;
	padding-left: 0px;
}

.tree-node .tree-node {
	padding-left: 20px;
}

.tree-node li input[type='checkbox'] {
	margin-right: 5px;
}

.card-view .card-info-header {
	margin-bottom: 20px;
}

.card-view .faction-image {
	margin-top: 20px;
}

.card-view .card-image {
	margin-top: 10px;
	width: 100%;
}

.row-dense > div, .col-dense {
	margin: 0px -15px;
}

.marker.off:before {
	content: "";
	display: inline-block;
	width: 0.6em;
	height: 1.2em;
	border: none;
	margin-right: 5px;
	vertical-align: sub;
	border-radius: 3px;
}

.type-army.marker.off:before { background-color: #D11010; }
.type-event.marker.off:before { background-color: purple; }
.type-attachment.marker.off:before { background-color: #0F700F; }
.type-support.marker.off:before { background-color: #4F4FDD; }